import { _decorator, Component } from "cc";
import { GameFacade } from "./core/GameFacade";
const { ccclass, property } = _decorator;

/**
 *
 * GameApp
 * leviseek
 * Mon Nov 13 2023 15:23:16 GMT+0800 (中国标准时间)
 *
 */
@ccclass("GameApp")
export class GameApp extends Component {
    // ------------------ 生命周期 begin ------------------

    public onLoad() {
        GameFacade.instance.startUp();
    }

    onEnable() {}

    start() {}

    update(deltaTime: number) {}

    lateUpdate(dt: number) {}

    onDisable() {}

    onDestroy() {}

    // ------------------- CUSTOM -------------------
}
